package com.letao.server.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.letao.server.dto.Result;
import com.letao.server.entity.SpuInfo;

public interface ISpuService extends IService<SpuInfo> {
    Result getPageInfo(Long id, String spuName, Integer oneCategoryId, Integer twoCategoryId, String keyWords, Integer hasStock, Integer page, Integer pageSize);

    Result suggest(String query, Integer page, Integer pageSize);

    Result complete(String query);

    Result hotSpu();
}
